3.1.3 \(\int (a+b x^2) (c+d x^2) (e+f x^2)^2 \, dx\) [3]

Optimal. Leaf size=94 \[ a c e^2 x+\frac {1}{3} e (b c e+a d e+2 a c f) x^3+\frac {1}{5} (a f (2 d e+c f)+b e (d e+2 c f)) x^5+\frac {1}{7} f (2 b d e+b c f+a d f) x^7+\frac {1}{9} b d f^2 x^9 \]

[Out]

a*c*e^2*x+1/3*e*(2*a*c*f+a*d*e+b*c*e)*x^3+1/5*(a*f*(c*f+2*d*e)+b*e*(2*c*f+d*e))*x^5+1/7*f*(a*d*f+b*c*f+2*b*d*e
)*x^7+1/9*b*d*f^2*x^9

________________________________________________________________________________________

Rubi [A]
time = 0.06, antiderivative size = 94, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.042, Rules used = {535} \begin {gather*} \frac {1}{7} f x^7 (a d f+b c f+2 b d e)+\frac {1}{5} x^5 (a f (c f+2 d e)+b e (2 c f+d e))+\frac {1}{3} e x^3 (2 a c f+a d e+b c e)+a c e^2 x+\frac {1}{9} b d f^2 x^9 \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + b*x^2)*(c + d*x^2)*(e + f*x^2)^2,x]

[Out]

a*c*e^2*x + (e*(b*c*e + a*d*e + 2*a*c*f)*x^3)/3 + ((a*f*(2*d*e + c*f) + b*e*(d*e + 2*c*f))*x^5)/5 + (f*(2*b*d*
e + b*c*f + a*d*f)*x^7)/7 + (b*d*f^2*x^9)/9

Rule 535

Int[((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.)*((e_) + (f_.)*(x_)^(n_))^(r_.), x_Symbol] :>
 Int[ExpandIntegrand[(a + b*x^n)^p*(c + d*x^n)^q*(e + f*x^n)^r, x], x] /; FreeQ[{a, b, c, d, e, f, n}, x] && I
GtQ[p, 0] && IGtQ[q, 0] && IGtQ[r, 0]

Rubi steps

\begin {align*} \int \left (a+b x^2\right ) \left (c+d x^2\right ) \left (e+f x^2\right )^2 \, dx &=\int \left (a c e^2+e (b c e+a d e+2 a c f) x^2+(a f (2 d e+c f)+b e (d e+2 c f)) x^4+f (2 b d e+b c f+a d f) x^6+b d f^2 x^8\right ) \, dx\\ &=a c e^2 x+\frac {1}{3} e (b c e+a d e+2 a c f) x^3+\frac {1}{5} (a f (2 d e+c f)+b e (d e+2 c f)) x^5+\frac {1}{7} f (2 b d e+b c f+a d f) x^7+\frac {1}{9} b d f^2 x^9\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.03, size = 96, normalized size = 1.02 \begin {gather*} a c e^2 x+\frac {1}{3} e (b c e+a d e+2 a c f) x^3+\frac {1}{5} \left (b d e^2+2 b c e f+2 a d e f+a c f^2\right ) x^5+\frac {1}{7} f (2 b d e+b c f+a d f) x^7+\frac {1}{9} b d f^2 x^9 \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + b*x^2)*(c + d*x^2)*(e + f*x^2)^2,x]

[Out]

a*c*e^2*x + (e*(b*c*e + a*d*e + 2*a*c*f)*x^3)/3 + ((b*d*e^2 + 2*b*c*e*f + 2*a*d*e*f + a*c*f^2)*x^5)/5 + (f*(2*
b*d*e + b*c*f + a*d*f)*x^7)/7 + (b*d*f^2*x^9)/9

________________________________________________________________________________________

Maple [A]
time = 0.15, size = 94, normalized size = 1.00

method result size
default \(\frac {b d \,f^{2} x^{9}}{9}+\frac {\left (\left (a d +b c \right ) f^{2}+2 b d e f \right ) x^{7}}{7}+\frac {\left (a c \,f^{2}+2 \left (a d +b c \right ) e f +b d \,e^{2}\right ) x^{5}}{5}+\frac {\left (2 a c e f +\left (a d +b c \right ) e^{2}\right ) x^{3}}{3}+a c \,e^{2} x\) \(94\)
norman \(\frac {b d \,f^{2} x^{9}}{9}+\left (\frac {1}{7} a d \,f^{2}+\frac {1}{7} b c \,f^{2}+\frac {2}{7} b d e f \right ) x^{7}+\left (\frac {1}{5} a c \,f^{2}+\frac {2}{5} a d e f +\frac {2}{5} b c e f +\frac {1}{5} b d \,e^{2}\right ) x^{5}+\left (\frac {2}{3} a c e f +\frac {1}{3} a d \,e^{2}+\frac {1}{3} b c \,e^{2}\right ) x^{3}+a c \,e^{2} x\) \(100\)
gosper \(\frac {1}{9} b d \,f^{2} x^{9}+\frac {1}{7} x^{7} a d \,f^{2}+\frac {1}{7} x^{7} b c \,f^{2}+\frac {2}{7} x^{7} b d e f +\frac {1}{5} x^{5} a c \,f^{2}+\frac {2}{5} x^{5} a d e f +\frac {2}{5} x^{5} b c e f +\frac {1}{5} x^{5} b d \,e^{2}+\frac {2}{3} x^{3} a c e f +\frac {1}{3} x^{3} a d \,e^{2}+\frac {1}{3} x^{3} b c \,e^{2}+a c \,e^{2} x\) \(115\)
risch \(\frac {1}{9} b d \,f^{2} x^{9}+\frac {1}{7} x^{7} a d \,f^{2}+\frac {1}{7} x^{7} b c \,f^{2}+\frac {2}{7} x^{7} b d e f +\frac {1}{5} x^{5} a c \,f^{2}+\frac {2}{5} x^{5} a d e f +\frac {2}{5} x^{5} b c e f +\frac {1}{5} x^{5} b d \,e^{2}+\frac {2}{3} x^{3} a c e f +\frac {1}{3} x^{3} a d \,e^{2}+\frac {1}{3} x^{3} b c \,e^{2}+a c \,e^{2} x\) \(115\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x^2+a)*(d*x^2+c)*(f*x^2+e)^2,x,method=_RETURNVERBOSE)

[Out]

1/9*b*d*f^2*x^9+1/7*((a*d+b*c)*f^2+2*b*d*e*f)*x^7+1/5*(a*c*f^2+2*(a*d+b*c)*e*f+b*d*e^2)*x^5+1/3*(2*a*c*e*f+(a*
d+b*c)*e^2)*x^3+a*c*e^2*x

________________________________________________________________________________________

Maxima [A]
time = 0.27, size = 95, normalized size = 1.01 \begin {gather*} \frac {1}{9} \, b d f^{2} x^{9} + \frac {1}{7} \, {\left (2 \, b d f e + {\left (b c + a d\right )} f^{2}\right )} x^{7} + \frac {1}{5} \, {\left (a c f^{2} + b d e^{2} + 2 \, {\left (b c e + a d e\right )} f\right )} x^{5} + \frac {1}{3} \, {\left (2 \, a c f e + b c e^{2} + a d e^{2}\right )} x^{3} + a c x e^{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^2+a)*(d*x^2+c)*(f*x^2+e)^2,x, algorithm="maxima")

[Out]

1/9*b*d*f^2*x^9 + 1/7*(2*b*d*f*e + (b*c + a*d)*f^2)*x^7 + 1/5*(a*c*f^2 + b*d*e^2 + 2*(b*c*e + a*d*e)*f)*x^5 +
1/3*(2*a*c*f*e + b*c*e^2 + a*d*e^2)*x^3 + a*c*x*e^2

________________________________________________________________________________________

Fricas [A]
time = 0.99, size = 99, normalized size = 1.05 \begin {gather*} \frac {1}{9} \, b d f^{2} x^{9} + \frac {1}{7} \, {\left (b c + a d\right )} f^{2} x^{7} + \frac {1}{5} \, a c f^{2} x^{5} + \frac {1}{15} \, {\left (3 \, b d x^{5} + 5 \, {\left (b c + a d\right )} x^{3} + 15 \, a c x\right )} e^{2} + \frac {2}{105} \, {\left (15 \, b d f x^{7} + 21 \, {\left (b c + a d\right )} f x^{5} + 35 \, a c f x^{3}\right )} e \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^2+a)*(d*x^2+c)*(f*x^2+e)^2,x, algorithm="fricas")

[Out]

1/9*b*d*f^2*x^9 + 1/7*(b*c + a*d)*f^2*x^7 + 1/5*a*c*f^2*x^5 + 1/15*(3*b*d*x^5 + 5*(b*c + a*d)*x^3 + 15*a*c*x)*
e^2 + 2/105*(15*b*d*f*x^7 + 21*(b*c + a*d)*f*x^5 + 35*a*c*f*x^3)*e

________________________________________________________________________________________

Sympy [A]
time = 0.02, size = 121, normalized size = 1.29 \begin {gather*} a c e^{2} x + \frac {b d f^{2} x^{9}}{9} + x^{7} \left (\frac {a d f^{2}}{7} + \frac {b c f^{2}}{7} + \frac {2 b d e f}{7}\right ) + x^{5} \left (\frac {a c f^{2}}{5} + \frac {2 a d e f}{5} + \frac {2 b c e f}{5} + \frac {b d e^{2}}{5}\right ) + x^{3} \cdot \left (\frac {2 a c e f}{3} + \frac {a d e^{2}}{3} + \frac {b c e^{2}}{3}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x**2+a)*(d*x**2+c)*(f*x**2+e)**2,x)

[Out]

a*c*e**2*x + b*d*f**2*x**9/9 + x**7*(a*d*f**2/7 + b*c*f**2/7 + 2*b*d*e*f/7) + x**5*(a*c*f**2/5 + 2*a*d*e*f/5 +
 2*b*c*e*f/5 + b*d*e**2/5) + x**3*(2*a*c*e*f/3 + a*d*e**2/3 + b*c*e**2/3)

________________________________________________________________________________________

Giac [A]
time = 0.97, size = 114, normalized size = 1.21 \begin {gather*} \frac {1}{9} \, b d f^{2} x^{9} + \frac {1}{7} \, b c f^{2} x^{7} + \frac {1}{7} \, a d f^{2} x^{7} + \frac {2}{7} \, b d f x^{7} e + \frac {1}{5} \, a c f^{2} x^{5} + \frac {2}{5} \, b c f x^{5} e + \frac {2}{5} \, a d f x^{5} e + \frac {1}{5} \, b d x^{5} e^{2} + \frac {2}{3} \, a c f x^{3} e + \frac {1}{3} \, b c x^{3} e^{2} + \frac {1}{3} \, a d x^{3} e^{2} + a c x e^{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^2+a)*(d*x^2+c)*(f*x^2+e)^2,x, algorithm="giac")

[Out]

1/9*b*d*f^2*x^9 + 1/7*b*c*f^2*x^7 + 1/7*a*d*f^2*x^7 + 2/7*b*d*f*x^7*e + 1/5*a*c*f^2*x^5 + 2/5*b*c*f*x^5*e + 2/
5*a*d*f*x^5*e + 1/5*b*d*x^5*e^2 + 2/3*a*c*f*x^3*e + 1/3*b*c*x^3*e^2 + 1/3*a*d*x^3*e^2 + a*c*x*e^2

________________________________________________________________________________________

Mupad [B]
time = 0.05, size = 99, normalized size = 1.05 \begin {gather*} x^5\,\left (\frac {a\,c\,f^2}{5}+\frac {b\,d\,e^2}{5}+\frac {2\,a\,d\,e\,f}{5}+\frac {2\,b\,c\,e\,f}{5}\right )+x^3\,\left (\frac {a\,d\,e^2}{3}+\frac {b\,c\,e^2}{3}+\frac {2\,a\,c\,e\,f}{3}\right )+x^7\,\left (\frac {a\,d\,f^2}{7}+\frac {b\,c\,f^2}{7}+\frac {2\,b\,d\,e\,f}{7}\right )+a\,c\,e^2\,x+\frac {b\,d\,f^2\,x^9}{9} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*x^2)*(c + d*x^2)*(e + f*x^2)^2,x)

[Out]

x^5*((a*c*f^2)/5 + (b*d*e^2)/5 + (2*a*d*e*f)/5 + (2*b*c*e*f)/5) + x^3*((a*d*e^2)/3 + (b*c*e^2)/3 + (2*a*c*e*f)
/3) + x^7*((a*d*f^2)/7 + (b*c*f^2)/7 + (2*b*d*e*f)/7) + a*c*e^2*x + (b*d*f^2*x^9)/9

________________________________________________________________________________________